home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _69323CA9F4304CB08F94F67770E34CE5 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.8 KB  |  176 lines

  1. MutantBezerker_x = {
  2.     NoFallDamage = 1,
  3. ------------------------------------------------------------------------------------
  4.  
  5.         
  6.     MeleeHitType="melee_slash",
  7. ------------------------------------------------------------------------------------
  8.  
  9.     MUTANT = 1,
  10.  
  11.     PropertiesInstance = {
  12.         sightrange = 80,
  13.         soundrange = 10,    -- rememeber that sound ranges intersect and sound range for AI doubles when in alert
  14.         aibehavior_behaviour = "BezerkerIdle",
  15.         groupid = 154,
  16.         },
  17.  
  18.     Properties = {
  19.         fMeleeDamage = 100,
  20.         fMeleeDistance = 4,
  21.         fDamageMultiplier = 1,
  22.         KEYFRAME_TABLE = "MUTANT_ABBERATION",
  23.         SOUND_TABLE = "MUTANT_BESERKER",
  24.         bAffectSOM = 1,
  25.         suppressedThrhld = 5.5,
  26.         bSleepOnSpawn = 1,
  27.         bHelmetOnStart = 0,
  28.         bHasArmor = 1,
  29.         fileHelmetModel = "Objects/merc_m_heavy.cgf",
  30. --        bHasLight = 0,
  31.         aggression = 0.3,    -- 0 = passive, 1 = total aggression
  32.         commrange = 30.0,
  33. --        cohesion = 5,
  34.         attackrange = 70,
  35.         horizontal_fov = 160,
  36.         eye_height = 2.1,
  37.         forward_speed = 2.1,
  38.         back_speed = 2.5,
  39.         max_health = 70,
  40.         accuracy = 0.6,
  41.         responsiveness = 7,
  42.         species = 100,
  43.  
  44.         fSpeciesHostility = 2,
  45.         fGroupHostility = 0,
  46.         fPersistence = 0,
  47.         equipEquipment = "none",
  48.         equipDropPack = "none",
  49.         AnimPack = "Basic",
  50.         SoundPack = "mutant_ab1",
  51.  
  52.         aicharacter_character = "Bezerker",
  53.         pathname = "none",
  54.         pathsteps = 0,
  55.         pathstart = 0,
  56.         ReinforcePoint = "none",
  57.         --Objects\characters\Mutants\mutant_aberration1\mutant_aberration1.cgf 
  58.         fileModel = "Objects/characters/Mutants/mutant_aberration1/mutant_aberration1.cgf",
  59.         bTrackable=1,
  60.  
  61.         speed_scales={
  62.             run            =2.95,
  63.             crouch    =.8,
  64.             prone        =.5,
  65.             xrun        =1.5,
  66.             xwalk        =.81,
  67.             rrun        =3.63,
  68.             rwalk        =.94,
  69.             },
  70.         AniRefSpeeds = {
  71.             WalkFwd = 1.68,
  72.             WalkSide = 1.68,
  73.             WalkBack = 1.68,
  74.             WalkRelaxedFwd = 1.68,
  75.             WalkRelaxedSide = 1.68,
  76.             WalkRelaxedBack = 1.68,
  77.             
  78.             RunFwd = 3.65,
  79.             RunSide = 3.65,
  80.             RunBack = 3.65,
  81.             XWalkFwd = 1.68,
  82.             XWalkSide = 1.68, 
  83.             XWalkBack = 1.68,
  84.             XRunFwd = 4.5,
  85.             XRunSide = 3.5, 
  86.             XRunBack = 4.5,
  87.             CrouchFwd = 1.68,
  88.             CrouchSide = 1.68,
  89.             CrouchBack = 1.68,
  90.         },
  91.     },
  92.     PhysParams = {
  93.         mass = 80,
  94.         height = 1.8,
  95.         eyeheight = 1.7,
  96.         sphereheight = 1.2,
  97.         radius = 0.45,
  98.     },
  99.  
  100. --pe_player_dimensions structure
  101.     PlayerDimNormal = {
  102.         height = 1.5,
  103.         eye_height = 1.3,
  104.         ellipsoid_height = 1.2,
  105.         x = 0.55,
  106.         y = 0.55,
  107.         z = 0.6,
  108.     },
  109.     PlayerDimCrouch = {
  110.         height = 1.5,
  111.         eye_height = 1.0,
  112.         ellipsoid_height = 0.95,
  113.         x = 0.55,
  114.         y = 0.55,
  115.         z = 0.5,
  116.     },
  117.     PlayerDimProne = {
  118.         height = 0.4,
  119.         eye_height = 0.5,
  120.         ellipsoid_height = 0.35,
  121.         x = 0.55,
  122.         y = 0.55,
  123.         z = 0.2,
  124.     },
  125.     
  126.  
  127.  
  128.     DeadBodyParams = {
  129.         sim_type = 1,
  130.       max_time_step = 0.025,
  131.       gravityz = -7.5,
  132.       sleep_speed = 0.025,
  133.       damping = 0.3,
  134.       freefall_gravityz = -9.81,
  135.       freefall_damping = 0.1,
  136.  
  137.       lying_mode_ncolls = 4,
  138.       lying_gravityz = -5.0,
  139.       lying_sleep_speed = 0.065,
  140.       lying_damping = 1.0
  141.     },
  142.     BulletImpactParams = {
  143.     stiffness_scale = 73,
  144.     max_time_step = 0.02
  145.   },
  146.  
  147.     -- Reloading related
  148.  
  149.  
  150.  
  151.     GrenadeType = "ProjFlashbangGrenade",
  152.  
  153.  
  154. }
  155. -------------------------------------------------------------------------------------------------------
  156. function MutantBezerker_x:OnInitCustom(  )
  157.  
  158.  
  159. System:Log("MutantBezerker_x onInitCustom ");
  160.  
  161.     self.cnt:CounterAdd("SuppressedValue", -2.0 );
  162.  
  163. end
  164.  
  165. ---------------------------------------------------------------------------------------------------------
  166. function MutantBezerker_x:OnResetCustom()
  167.  
  168. System:Log("MutantBezerker_x onResetCustom ");
  169.  
  170.     self.cnt:CounterSetValue("SuppressedValue", 0.0 );
  171.     self.isSelfCovered = 0;
  172.     self.lastMeleeAttackTime = 0;
  173.     
  174. end
  175. ---------------------------------------------------------------------------------------------------------
  176.